-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor: Rework update frequency dropdown #1097
Conversation
Affected libs:
|
📷 Screenshots are here! |
return 'annually' | ||
case 'semimonthly': | ||
return 'semimonthly' | ||
case 'biennially': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe i am missing something but i don't really understand the purpose of this function, is it only to output the frequency as a string? + it is missing the default case returning null.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it seems useless now, maybe because you changed the way frequency code is handled. Dunno
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't change anything regarding the frequency code handling, i have just allowed 2 more options to be displayed in the dropdown list.
cc42ed1
to
b608aaf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should setup the prettier plugin in your IDE for automatic formatting.
b608aaf
to
6787f5c
Compare
- use array of possible value - add full ISO codelist to the model
only use codelist values. Fallback on custom period if present in the metadata
0c28f97
to
41fb864
Compare
fce7daf
to
41ff2a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
I have added "Continual" and "Periodic" in the dropdown list and updated related translations for each available language. Also fixed the e2e tests.
Description
This PR changes the update frequency dropdown list to fit ISO codelist.
Technically: